package com.bishe.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * (Activity)表实体类
 *
 * @author makejava
 * @since 2024-03-07 14:47:04
 */
@TableName(value ="activity")
@ApiModel("活动")
@Data
@SuppressWarnings("serial")
public class Activity extends Model<Activity> {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    //活动名称
    @ApiModelProperty("活动名称")
    private String name;
    //活动开始时间
    @ApiModelProperty("活动开始时间")
    private Date activityTime;
    //活动地点
    @ApiModelProperty("活动地点")
    private String location;
    //活动内容
    @ApiModelProperty("活动内容")
    private String context;
    //创建时间
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private String uid;

    @ApiModelProperty("社团名")
    @TableField(exist = false)
    private String clubName;

}

